package com.igeek.health.service;

import com.igeek.health.entity.Ordersetting;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fengqq
 * @since 2024-08-26
 */
public interface IOrdersettingService extends IService<Ordersetting> {

    //更新预约设置表的数据
    boolean updateAll(List<Ordersetting> ordersettingList);

    //根据年月查询预约设置信息
    List<Map<String, Integer>> findDataByMonth(Integer year, Integer month);

    //根据预约日期修改可预约数量
    boolean updateOne(Ordersetting ordersetting);
}
